package com.weipu.common.facade.model.config;

import java.io.Serializable;

import org.simpleframework.xml.Element;

/**
 *服务端地址相关信息配置
 * @author Administrator
 */
@SuppressWarnings("serial")
@Element
public class AddressCfg implements Serializable
{
    
    //API 根路径
    @Element
    private String baseUrl;
    
    //FAQ地址
    @Element
    private String faqUrl;
    
    //支付地址
    @Element
    private String shippingAddressUrl;
    
    public String getShippingAddressUrl()
    {
        return shippingAddressUrl;
    }
    
    public void setShippingAddressUrl(String shippingAddressUrl)
    {
        this.shippingAddressUrl = shippingAddressUrl;
    }
    
    public String getFaqUrl()
    {
        return faqUrl;
    }
    
    public void setFaqUrl(String faqUrl)
    {
        this.faqUrl = faqUrl;
    }
    
    public String getBaseUrl()
    {
        return baseUrl;
    }
    
    public void setBaseUrl(String baseUrl)
    {
        this.baseUrl = baseUrl;
    }
    
    @Override
    public int hashCode()
    {
        return toString().hashCode();
    }
    
    @Override
    public String toString()
    {
        StringBuffer sb = new StringBuffer();
        
        sb.append("baseUrl: ").append(baseUrl).append('\n');
        sb.append("faqUrl: ").append(faqUrl).append('\n');
        sb.append("shippingAddressUrl: ").append(shippingAddressUrl);
        
        return sb.toString();
    }
}
